package com.adinnet.admin.course.service;

import com.adinnet.admin.course.model.Course;
import com.adinnet.admin.course.model.vo.CourseResp;
import com.adinnet.admin.school.model.School;
import com.adinnet.admin.system.model.vo.SysUserInfo;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程表 服务类
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-11
 */
public interface CourseService extends IService<Course> {

    PageResult<CourseResp> courseList(String keyword, Integer page, Integer limit);

    List<Course> getListByUserRole(SysUserInfo sysUserInfo);

    JsonResult delete(Integer courseId);
}
